package extendsIndex;

public class extendsIndex {
    //前面有30道题=45
    //编程题5=55;
    public static void main(String[] args) {
        //封装
        //继承
        //多态 一个对象多种形态


    }
}
class Fu{
    String name="fu";
    public void Show(){
        System.out.println(name);
    }
}
class zi extends Fu{
    String name="zi";
    @Override
    public void Show(){
        System.out.println(name);
    }


}